package com.asiainfo.crm.core.aiipclient;

import com.asiainfo.crm.baf.tcl.BafAuthInfo;
import com.opensymphony.xwork2.ActionContext;

public class BafAuthInfoUtil {
    public static BafAuthInfo getBafAuthInfo() {
        String areaid = (String) ActionContext.getContext().getSession().get("AREA_ID");
        String countyid = (String) ActionContext.getContext().getSession().get("COUNTY_ID");
        String officeid = (String) ActionContext.getContext().getSession().get("DEPT_ID");
        String usercode = (String) ActionContext.getContext().getSession().get("USER_CODE");
        return new BafAuthInfo(areaid, countyid, officeid, usercode);

    }
}
